//package io.renren.common.rabbitmq;
//
//import io.renren.common.utils.PrintUtils;
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.Resource;
//
//@Component
//@RabbitListener(queues = "hello")
//public class Receiver {
//
//    @Resource
//    PrintUtils printUtils;
//
//    @RabbitHandler
//    public void process(String hello) {
//        System.out.println("Receiver : " + hello);
//        printUtils.print();
//    }
//
//}